<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>inf-text-delete-operation</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0">
<link rel="home" href="index.html" title="libinftext-0.4 Reference Manual">
<link rel="up" href="ch01.html" title="libinftext API reference">
<link rel="prev" href="libinftext-0.4-inf-text-insert-operation.html" title="inf-text-insert-operation">
<link rel="next" href="InfTextDefaultDeleteOperation.html" title="InfTextDefaultDeleteOperation">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libinftext-0.4-inf-text-insert-operation.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinftext-0.4 Reference Manual</th>
<td><a accesskey="n" href="InfTextDefaultDeleteOperation.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libinftext-0.4-inf-text-delete-operation.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#libinftext-0.4-inf-text-delete-operation.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" title="inf-text-delete-operation">
<a name="libinftext-0.4-inf-text-delete-operation"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libinftext-0.4-inf-text-delete-operation.top_of_page"></a>inf-text-delete-operation</span></h2>
<p>inf-text-delete-operation</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="libinftext-0.4-inf-text-delete-operation.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="libinftext-0.4-inf-text-delete-operation.html#InfTextDeleteOperationIface" title="InfTextDeleteOperationIface">InfTextDeleteOperationIface</a>;
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="libinftext-0.4-inf-text-delete-operation.html#inf-text-delete-operation-get-position" title="inf_text_delete_operation_get_position ()">inf_text_delete_operation_get_position</a>
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *operation</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="libinftext-0.4-inf-text-delete-operation.html#inf-text-delete-operation-get-length" title="inf_text_delete_operation_get_length ()">inf_text_delete_operation_get_length</a>
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *operation</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libinftext-0.4-inf-text-delete-operation.html#inf-text-delete-operation-need-concurrency-id" title="inf_text_delete_operation_need_concurrency_id ()">inf_text_delete_operation_need_concurrency_id</a>
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *op</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfAdoptedOperation.html"><span class="type">InfAdoptedOperation</span></a> *against</code></em>);
<a href="../libinfinity-0.4/InfAdoptedOperation.html#InfAdoptedConcurrencyId"><span class="returnvalue">InfAdoptedConcurrencyId</span></a>  <a class="link" href="libinftext-0.4-inf-text-delete-operation.html#inf-text-delete-operation-get-concurrency-id" title="inf_text_delete_operation_get_concurrency_id ()">inf_text_delete_operation_get_concurrency_id</a>
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *op</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfAdoptedOperation.html"><span class="type">InfAdoptedOperation</span></a> *against</code></em>);
<a href="../libinfinity-0.4/InfAdoptedOperation.html"><span class="returnvalue">InfAdoptedOperation</span></a> * <a class="link" href="libinftext-0.4-inf-text-delete-operation.html#inf-text-delete-operation-transform-insert" title="inf_text_delete_operation_transform_insert ()">inf_text_delete_operation_transform_insert</a>
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *operation</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextInsertOperation"><span class="type">InfTextInsertOperation</span></a> *against</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfAdoptedOperation.html#InfAdoptedConcurrencyId"><span class="type">InfAdoptedConcurrencyId</span></a> cid</code></em>);
<a href="../libinfinity-0.4/InfAdoptedOperation.html"><span class="returnvalue">InfAdoptedOperation</span></a> * <a class="link" href="libinftext-0.4-inf-text-delete-operation.html#inf-text-delete-operation-transform-delete" title="inf_text_delete_operation_transform_delete ()">inf_text_delete_operation_transform_delete</a>
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *operation</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *against</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfAdoptedOperation.html#InfAdoptedConcurrencyId"><span class="type">InfAdoptedConcurrencyId</span></a> cid</code></em>);
</pre>
</div>
<div class="refsect1" title="Description">
<a name="libinftext-0.4-inf-text-delete-operation.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="libinftext-0.4-inf-text-delete-operation.details"></a><h2>Details</h2>
<div class="refsect2" title="InfTextDeleteOperationIface">
<a name="InfTextDeleteOperationIface"></a><h3>InfTextDeleteOperationIface</h3>
<pre class="programlisting">typedef struct {
  GTypeInterface parent;

  /* Virtual table */
  guint(*get_position)(InfTextDeleteOperation* operation);

  guint(*get_length)(InfTextDeleteOperation* operation);

  InfTextDeleteOperation*(*transform_position)(InfTextDeleteOperation* op,
                                               guint position);

  InfTextDeleteOperation*(*transform_overlap)(InfTextDeleteOperation* op,
                                              InfTextDeleteOperation* other,
                                              guint position,
                                              guint begin,
                                              guint other_begin,
                                              guint length);

  InfAdoptedSplitOperation*(*transform_split)(InfTextDeleteOperation* op,
                                              guint split_pos,
                                              guint split_length);
} InfTextDeleteOperationIface;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="inf_text_delete_operation_get_position ()">
<a name="inf-text-delete-operation-get-position"></a><h3>inf_text_delete_operation_get_position ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               inf_text_delete_operation_get_position
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *operation</code></em>);</pre>
<p>
Returns the position at which <em class="parameter"><code>operation</code></em> starts to delete dext.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The position of <em class="parameter"><code>operation</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_text_delete_operation_get_length ()">
<a name="inf-text-delete-operation-get-length"></a><h3>inf_text_delete_operation_get_length ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               inf_text_delete_operation_get_length
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *operation</code></em>);</pre>
<p>
Returns the number of characters deleted by <em class="parameter"><code>operation</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The length of <em class="parameter"><code>operation</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_text_delete_operation_need_concurrency_id ()">
<a name="inf-text-delete-operation-need-concurrency-id"></a><h3>inf_text_delete_operation_need_concurrency_id ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            inf_text_delete_operation_need_concurrency_id
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *op</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfAdoptedOperation.html"><span class="type">InfAdoptedOperation</span></a> *against</code></em>);</pre>
<p>
Returns whether transforming <em class="parameter"><code>op</code></em> against <em class="parameter"><code>against</code></em> requires a concurrency ID
(see <a href="../libinfinity-0.4/InfAdoptedOperation.html#inf-adopted-operation-need-concurrency-id"><code class="function">inf_adopted_operation_need_concurrency_id()</code></a> for further information).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>against</code></em> :</span></p></td>
<td>Another <a href="../libinfinity-0.4/InfAdoptedOperation.html"><span class="type">InfAdoptedOperation</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Whether transforming <em class="parameter"><code>op</code></em> against <em class="parameter"><code>against</code></em> requires a concurrency
ID.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_text_delete_operation_get_concurrency_id ()">
<a name="inf-text-delete-operation-get-concurrency-id"></a><h3>inf_text_delete_operation_get_concurrency_id ()</h3>
<pre class="programlisting"><a href="../libinfinity-0.4/InfAdoptedOperation.html#InfAdoptedConcurrencyId"><span class="returnvalue">InfAdoptedConcurrencyId</span></a>  inf_text_delete_operation_get_concurrency_id
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *op</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfAdoptedOperation.html"><span class="type">InfAdoptedOperation</span></a> *against</code></em>);</pre>
<p>
Returns a concurrency ID for transformation of <em class="parameter"><code>op</code></em> against <em class="parameter"><code>against</code></em>
(see <a href="../libinfinity-0.4/InfAdoptedOperation.html#inf-adopted-operation-get-concurrency-id"><code class="function">inf_adopted_operation_get_concurrency_id()</code></a> for further information).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>against</code></em> :</span></p></td>
<td>Another <a href="../libinfinity-0.4/InfAdoptedOperation.html"><span class="type">InfAdoptedOperation</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A concurrency ID between <em class="parameter"><code>op</code></em> and <em class="parameter"><code>against</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_text_delete_operation_transform_insert ()">
<a name="inf-text-delete-operation-transform-insert"></a><h3>inf_text_delete_operation_transform_insert ()</h3>
<pre class="programlisting"><a href="../libinfinity-0.4/InfAdoptedOperation.html"><span class="returnvalue">InfAdoptedOperation</span></a> * inf_text_delete_operation_transform_insert
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *operation</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextInsertOperation"><span class="type">InfTextInsertOperation</span></a> *against</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfAdoptedOperation.html#InfAdoptedConcurrencyId"><span class="type">InfAdoptedConcurrencyId</span></a> cid</code></em>);</pre>
<p>
Returns a new operation that includes the effect of <em class="parameter"><code>against</code></em> into
<em class="parameter"><code>operation</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>against</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextInsertOperation"><span class="type">InfTextInsertOperation</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cid</code></em> :</span></p></td>
<td>The concurrency ID for the transformation.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A new <a href="../libinfinity-0.4/InfAdoptedOperation.html"><span class="type">InfAdoptedOperation</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_text_delete_operation_transform_delete ()">
<a name="inf-text-delete-operation-transform-delete"></a><h3>inf_text_delete_operation_transform_delete ()</h3>
<pre class="programlisting"><a href="../libinfinity-0.4/InfAdoptedOperation.html"><span class="returnvalue">InfAdoptedOperation</span></a> * inf_text_delete_operation_transform_delete
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *operation</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *against</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfAdoptedOperation.html#InfAdoptedConcurrencyId"><span class="type">InfAdoptedConcurrencyId</span></a> cid</code></em>);</pre>
<p>
Returns a new operation that includes the effect of <em class="parameter"><code>against</code></em> into
<em class="parameter"><code>operation</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
<td>A <a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>against</code></em> :</span></p></td>
<td>Another <a class="link" href="libinftext-0.4-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cid</code></em> :</span></p></td>
<td>The concurrency ID for the transformation.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A new <a href="../libinfinity-0.4/InfAdoptedOperation.html"><span class="type">InfAdoptedOperation</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15</div>
</body>
</html>